import Mock from 'mockjs';

Mock.mock('/list',{
    "list|8":[{
        "id":"@id",
        "txt":"@ctitle(4)",
        "con":"@cparagraph(7,10)",
        "tcon":"@csentence()",
        "renqi|100-1000":0,
        "src":"@image(100x100,@color)",
        "type|1":['策略','装扮','仙侠','休闲'],
        'children|10':[{
            "id":"@id",
            "txt":"@ctitle(4)",
            "con":"@cparagraph(7,10)",
            "tcon":"@csentence()",
            "renqi|100-1000":0,
            "src":"@image(100x100,@color)",
            "type|1":['策略','装扮','仙侠','休闲'],
        }]
    }]
})